import { createRouter, createWebHistory } from "vue-router";
import HomeView from "../views/HomeView.vue";

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: "/",
      name: "home",
      component: HomeView,
    },
    {
      path: "/todolist",
      name: "todolist",

      component: () => import("../views/Todolist.vue"),
    },
    {
      path: "/test",
      name: "test",
      component: () => import("../views/test.vue"),
    },
    {
      path: "/Page",
      name: "Page",

      component: () => import("../views/Page.vue"),
    },
    {
      path: "/ShopCar",
      name: "ShopCar",

      component: () => import("../views/ShopCar/ShopCar.vue"),
    },
    {
      path: "/Page3",
      name: "Page3",
      component: () => import("../views/Page3.vue"),
    },
    {
      path: "/Page4",
      name: "Page4",

      component: () => import("../views/Page4.vue"),
    },
    {
      path: "/Page5",
      name: "Page5",
      component: () => import("../views/shopcarV3.vue"),
    },
    {
      path: "/Page6",
      name: "Page6",

      component: () => import("../views/V3ShopCar.vue"),
    },
    {
      path: "/Page7",
      name: "Page7",
      component: () => import("../components/Dialog1.vue"),
    },
    {
      path: "/Page8",
      name: "Page8",
      component: () => import("../views/Dialog2.vue"),
    },
    {
      path: "/Page9",
      name: "Page9",
      component: () => import("../views/dialogmain.vue"),
    },
    {
      path: "/Pagination",
      name: "Pagination",
      component: () => import("../views/Pagination.vue"),
    },
    {
      path: "/Page10",
      name: "Page10",
      component: () => import("../views/Page10.vue"),
    },
    {
      path: "/Page11",
      name: "Page11",
      component: () => import("../views/Page11.vue"),
    },
    {
      path: "/Page12",
      name: "/Page12",
      component: () => import("../views/Page12.vue"),
    },
    {
      path: "/User11",
      name: "/User11",
      component: () => import("../views/User11.vue"),
    },
  ],
});

export default router;
